package ltd.smallwang;

import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;

class Leetcode0383Test {
  private final Leetcode0383 leetcode0383 = new Leetcode0383();

  @Test
  void testCanConstruct() {
    Assertions.assertThat(leetcode0383.canConstruct("a", "b")).isFalse();
    Assertions.assertThat(leetcode0383.canConstruct("aa", "ab")).isFalse();
    Assertions.assertThat(leetcode0383.canConstruct("aa", "aab")).isTrue();
  }
}
 